package cn.itcast.ssm.mapper;

import cn.itcast.ssm.po.DepartmentInf;
import cn.itcast.ssm.po.DepartmentInfExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DepartmentInfMapper {
    long countByExample(DepartmentInfExample example);

    int deleteByExample(DepartmentInfExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DepartmentInf record);

    int insertSelective(DepartmentInf record);

    List<DepartmentInf> selectByExample(DepartmentInfExample example);

    DepartmentInf selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DepartmentInf record, @Param("example") DepartmentInfExample example);

    int updateByExample(@Param("record") DepartmentInf record, @Param("example") DepartmentInfExample example);

    int updateByPrimaryKeySelective(DepartmentInf record);

    int updateByPrimaryKey(DepartmentInf record);
}